<?php
namespace Home\Controller;
use Think\Controller;
class ClassController extends Controller {
	public function index(){
		$banner=M('banner');
    	$bannerlist=$banner->select();
    	$this->assign('bannerlist',$bannerlist);
        $this->display();
    }

}